/*****************************************************************************************
Arise Engine		ToolsView.h

					E-mail:		arise_engine@mail.ru

created:			17.03.2007
last changes:		24.04.2007

ToolsView.h : interface of the ToolsView class

Project is an MFC application, using the single-document model, split-window style.
Based on EffectEdit Direct3D Sample (c) Microsoft Corporation. All rights reserved.
*****************************************************************************************/
#pragma once

#include "ToolsPage0.h"
#include "ToolsPage1.h"



class ToolsView : public CFormView
{
protected: // create from serialization only
	ToolsView();
	DECLARE_DYNCREATE(ToolsView)
	
	virtual void OnInitialUpdate(); // called first time after construct

// Attributes
public:

// Operations

	//{{AFX_DATA(CToolsView)
    enum { IDD = IDD_TOOLS_FORMVIEW };
    //}}AFX_DATA

	CTabCtrl		m_tab_list;
	CImageList		m_image_list;
	ToolsPage0		pPage0;
	ToolsPage1		pPage1;
	int				m_current_page;
	
// Overrides
// Implementation

	virtual ~ToolsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

    // Generated message map functions
    //{{AFX_MSG(CToolsView)
    afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	afx_msg void OnTcnSelchangeToolsTab(NMHDR *pNMHDR, LRESULT *pResult);
   //}}AFX_MSG

	void HideAllPages();
	void ApplyCurrentPage(UINT page);

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
};


extern HWND g_hwnd_tools_view;
